﻿@{ Response.AddHeader("X-UA-Compatibility", "IE=Edge"); }
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title>InfoSource: @ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Styles/Site.css")" rel="stylesheet" type="text/css" />
	<link href="@Url.Content("~/Content/Styles/redmond/jquery-ui-1.10.3.custom.min.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/Styles/Redactor/redactor.css")" rel="stylesheet" type="text/css" />
	
	<!--[if IE 8]>
		<link href="@Url.Content("~/Content/Styles/SiteIE8.css")" rel="stylesheet" type="text/css" />
	<![endif]-->

	
	@{
		if(ViewContext.Controller.ViewData.ContainsKey("StyleSheets")){
			foreach (string styleSheet in (List<string>)ViewContext.Controller.ViewData["StyleSheets"])
			{
				<link href="@styleSheet" rel="stylesheet" type="text/css" />
			}	
		}
	 }


</head>
<body>
    <div class="page">

        <div id="header">
            <span id="title">
                InfoSource
            </span>
              
            <div id="login-display">
                Current User: @User.Identity.Name
				<button id="btnOptionsMenu"></button>
            </div>

			<div id="navigation-tabs">
				<ul>
					<li class="selected"><a href="/InfoSource/home/zipcodelookup" handledlink="true" linktype="tab">ZipCode Look Up</a></li>
				</ul>
			</div>        
        </div>
		@Html.Partial("OptionsMenu");



        <div id="content">
            @RenderBody()

            <div id="footer">
            </div>
        </div><!-- content -->
    </div><!-- page -->



	<!-- SCRIPTS
	----------------------------------------------------------------------------------------------------------------->

	<script src="@Url.Content("~/Content/Scripts/jquery-1.10.1.min.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Content/Scripts/jquery-ui-1.10.3.custom.min.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Content/Scripts/modernizr-1.7.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Content/Scripts/lazyload.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Content/Scripts/underscore-min.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Content/Scripts/site.js")" type="text/javascript"></script>
	<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=AIzaSyC_BeXNT_hWbHr5W0RmdQqjmdReGFMOlRk&sensor=false"></script>
    <script src="@Url.Content("~/Content/Scripts/Redactor/redactor.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Content/Scripts/Redactor/fontcolor.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Content/Scripts/Redactor/fontfamily.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Content/Scripts/Redactor/fontsize.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Content/Scripts/rangy/rangy-core.js")" type="text/javascript"></script>

	@{
		if (ViewContext.Controller.ViewData.ContainsKey("Scripts"))
		{
			foreach (string script in (List<string>)ViewContext.Controller.ViewData["Scripts"])
			{
				<script type="text/javascript" src="@script" ></script>
			}	
		}
	 }


	<script type="text/javascript">
		@{
			if(ViewContext.Controller.ViewData.ContainsKey("InlineScripts")){
				foreach(string script in (List<string>)ViewContext.Controller.ViewData["InlineScripts"]){
					@Html.Raw(script + ";\n")
				}	
			}
		}
	</script>
	
</body>
</html>
